Skip to content

fix: Resolving name clashing issue with size_push theorem and syntax error#91

Merged
seanmcl merged 1 commit intoleanprover:mainfrom
segevem:fix-name-clash
Oct 9, 2025
Merged

fix: Resolving name clashing issue with size_push theorem and syntax error#91
seanmcl merged 1 commit intoleanprover:mainfrom
segevem:fix-name-clash

Conversation

@segevem
Copy link

@segevem segevem commented Oct 8, 2025

When using TensorLib and a dependency which depends on Batteries, the size_push theorem in Batteries clashes with the one defined in TensorLib. Fixed by removing the one in TensorLib and importing Batteries' version of ByteArray to supply the size_push theorem.

Removed a space behind a match expression in Iterator.lean which caused a syntax error.

@seanmcl
Copy link
Collaborator

seanmcl commented Oct 9, 2025

Thanks again. Please squash your commits and we can merge.

Resolving name clashing issue with size_push theorem in ByteArray.lean when Batteries is imported and syntax error in Iterator.lean
@segevem
Copy link
Author

segevem commented Oct 9, 2025

Thank you! Squashed.

@seanmcl seanmcl merged commit b76a064 into leanprover:main Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants